package com.totoro.service;

import com.totoro.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author TOTORO
 * @date 2021/7/29 21:25
 */
public interface StatisticsService {
    SearchTextList findSeachTextCol(String searchText);

    Integer addSearchText(SearchTextList searchTextList);

    Integer updateSearchTextCount(int stId);

    List<UserOnline> findDayUserOnline();

    List<Category> findHotCategoryByBuyCount();

    List<Product> findHotCategoryProduct(String cname);

    Statistics findAllPriceAndNowPrice();

    Integer findAllSellerCount();

    Integer findWeekSellerCount();

    List<User> findUserByPageAndName(Statistics statistics);
}
